package com.sky.service;


import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {

     PageResult PageDish(DishPageQueryDTO dishPageQueryDTO);

     void deleteBatch(List<Long> ids);

    DishVO GetDishById(Long id);

    void UpdateDish(DishDTO dishDTO);

    void IsSale(Integer status, Long id);

    void DishAdd(DishDTO dishDTO);

    List<Dish> GetDishByCategoryId(Long categoryId);
    /**
     * 条件查询菜品和口味
     * @param dish
     * @return
     */
    List<DishVO> listWithFlavor(Dish dish);
}
